package com.itheima.mm.service;

import com.itheima.mm.dto.IndustryDTO;
import com.itheima.mm.entity.IndustryPageQueryParams;
import com.itheima.mm.entity.PageResult;
import com.itheima.mm.entity.QueryPageBean;
import com.itheima.mm.vo.IndustryVO;

import java.util.List;

/**
 * @Description IndustryService
 * @Author xiao
 * @Date 2024-06-26
 */
public interface IndustryService {
    List<IndustryVO> findListAll();

    PageResult<IndustryVO> findListByPage(QueryPageBean<IndustryPageQueryParams> queryPageBean);

    void add(IndustryDTO industryDTO);

    void delete(Integer id);
}
